package com.woniuxy01;

import javax.security.sasl.SaslClient;
import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-22 14:47
 */
public class Test08 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入运算符+ - * /");
//        char operator=scanner.next().charAt(0);
//        if(operator=='+'){
//            System.out.println("+");
//        }
//        String operator=scanner.next();
//        //两个字符比较相等不能用==
//        if(operator.equals("+")){
//            System.out.println("+");
//        }

//        System.out.println(10/2);
//        System.out.println(10/0);
        System.out.println('+');
        System.out.println((int)'+');
    }
}
